Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio
Task list and short procedure
To reach this point, you need to know how to do the following tasks:
- Add a prebuilt SDO.
- Link SDOs together and map their foreign fields.
- Add a prebuilt SDV.
- Link an SDV to an SDO.
- Create and resize a button.
- Enhance a button with a ToolTip, a Help ID, and an image.
- Code a launch trigger for a button using the Section Editor.
- Create and resize an OCX control.
- Code navigation triggers for an OCX control using the Section Editor.
The following short procedure outlines how to complete these tasks.
![]()
To build the Order section:
- Add a prebuilt SDO,
dorder.w, to the Order section.See the "Adding a SDO for orders" section to review this procedure.
- Create a Data SmartLink from
dcust.wtodorder.w.See Step 3 in the "Adding a SDO for orders" section to review this procedure.
- Map the
Customer.CustNumfield to theOrder.CustNumfield.See Step 4 in the "Adding a SDO for orders" section to review this procedure.
- Add a prebuilt SDO,
dordlne.w, to the Order section.See the "Adding a SDO for order lines" section to review this procedure.
- Create a Data SmartLink from
dorder.wtodordlne.w.See Step 3 in the "Adding a SDO for order lines" section to review this procedure.
- Map the
Order.Ordernumfield to theOrderLine.Ordernumfield.See Step 5 in the "Adding a SDO for order lines" section to review this procedure.
- Add a prebuilt SDV,
vorder.w, to the Order Section.See the "Adding a SDV" section to review this procedure.
- Create a Data SmartLink from
dorder.wtovorder.w.See Step 3 in the "Adding a SDV" section to review this procedure.
- Create an Update SmartLink from
vorder.wtodorder.w.See Step 4 in the "Adding a SDV" section to review this procedure.
- Add three buttons with the following properties:
Object Left Height Width ToolTip Help ID Image BUTTON-3 14 2.38 10 Place New Order 3 BUTTON-4 14 2.38 10 Find Order 4 BUTTON-5 14 2.38 10 Maintain Order 5See the "Creating and positioning the buttons" section and the "Adding ToolTips, help IDs, and images to the buttons" section to review this procedure.
- Write
CHOOSEevent triggers for the buttons in the Section Editor.See the "Coding event triggers for the Order buttons" section to review this procedure.
- Add and position two control frames, based on the Crescent Spin Control OCX.
See the "Adding OCX controls" section to review this procedure.
- Give the OCX control frames the following properties:
See the "Changing the appearance of the OCX controls" section to review this procedure.
- Create the following Text labels:
See Step 7 in the "Changing the appearance of the OCX controls" section to review this procedure.
- Place a rectangle around each OCX control and its text label.
See Step 8 in the "Changing the appearance of the OCX controls" section to review this procedure.
- Add
OCX.SpinDownandOCX.SpinUptriggers for the control frames.See the "Coding the Prev/Next spin box to fetch the previous record" section and the "Coding the First/Last spin box to fetch the first and last records" section to review this procedure.
- Run and check your application.
See the "Viewing the window" section to review this procedure.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |